﻿using System;
using Colligate;


namespace OrgDataSource
{
    public class ClassInfo:IModuleInfo
    {
        public ModuleClassInfo[] ClassList
        {
            get {
                var mc = new[]
                {
                    new ModuleClassInfo
                    {
                        Guid = System.Guid.NewGuid().ToString(),
                        Name = "OrgDataSource.OrgModel",
                        TypeName = "TaskDataSource",
                        ExtendInterface = string.Empty,
                        DatatypeList = new[]
                        {
                            new DataTypeInfo{ Guid=System.Guid.NewGuid().ToString(),Name="company"},
                            new DataTypeInfo{ Guid=System.Guid.NewGuid().ToString(),Name="companylist"},
                            new DataTypeInfo{ Guid=System.Guid.NewGuid().ToString(),Name="companyapplist"},
                            new DataTypeInfo{ Guid=System.Guid.NewGuid().ToString(),Name="companybranchs"},
                            new DataTypeInfo{ Guid=System.Guid.NewGuid().ToString(),Name="branch"},
                            new DataTypeInfo{ Guid=System.Guid.NewGuid().ToString(),Name="branchlist"},
                            new DataTypeInfo{ Guid=System.Guid.NewGuid().ToString(),Name="branchmemberlist"},
                            new DataTypeInfo{ Guid=System.Guid.NewGuid().ToString(),Name="branchmemberdetail"},
                            new DataTypeInfo{ Guid=System.Guid.NewGuid().ToString(),Name="application"},
                            new DataTypeInfo{ Guid=System.Guid.NewGuid().ToString(),Name="apptasklist"},
                            new DataTypeInfo{ Guid=System.Guid.NewGuid().ToString(),Name="applicationlist"},
                            new DataTypeInfo{ Guid=System.Guid.NewGuid().ToString(),Name="account"},
                            new DataTypeInfo{ Guid=System.Guid.NewGuid().ToString(),Name="certificate"},
                            new DataTypeInfo{ Guid=System.Guid.NewGuid().ToString(),Name="loginticket"},
                            new DataTypeInfo{ Guid=System.Guid.NewGuid().ToString(),Name="certticket"},
                            new DataTypeInfo{ Guid=System.Guid.NewGuid().ToString(),Name="pageticket"},
                            new DataTypeInfo{ Guid=System.Guid.NewGuid().ToString(),Name="group"},
                            new DataTypeInfo{ Guid=System.Guid.NewGuid().ToString(),Name="groupmember"},
                            new DataTypeInfo{ Guid=System.Guid.NewGuid().ToString(),Name="grouplist"},
                            new DataTypeInfo{ Guid=System.Guid.NewGuid().ToString(),Name="groupmemberlist"},
                            new DataTypeInfo{ Guid=System.Guid.NewGuid().ToString(),Name="member"},
                            new DataTypeInfo{ Guid=System.Guid.NewGuid().ToString(),Name="usertasklist"},
                            new DataTypeInfo{ Guid=System.Guid.NewGuid().ToString(),Name="membergrouplist"},
                            new DataTypeInfo{ Guid=System.Guid.NewGuid().ToString(),Name="memberdetail"},
                            new DataTypeInfo{ Guid=System.Guid.NewGuid().ToString(),Name="relateoulist"},
                            new DataTypeInfo{ Guid=System.Guid.NewGuid().ToString(),Name="searchouinfo"},
                            new DataTypeInfo{ Guid=System.Guid.NewGuid().ToString(),Name="rolemember"},
                            new DataTypeInfo{ Guid=System.Guid.NewGuid().ToString(),Name="rolelist"},
                            new DataTypeInfo{ Guid=System.Guid.NewGuid().ToString(),Name="roleauthority"},
                            new DataTypeInfo{ Guid=System.Guid.NewGuid().ToString(),Name="task"},
                            new DataTypeInfo{ Guid=System.Guid.NewGuid().ToString(),Name="uservar"},
                            new DataTypeInfo{ Guid=System.Guid.NewGuid().ToString(),Name="errorlist"}
                        }
                    }
                };
                return mc;
            }
        }

        public string Descript
        {
            get { return "实现组织机构管理的相关业务功能"; }
        }

        public string Guid
        {
            get { return "0690f841-7773-445c-9f48-a7a0427686d5"; }
        }

        public void InitEnvironment(IDataService dataService)
        {
            throw new NotImplementedException();
        }

        public string Name
        {
            get { return "OrganizationDataSource"; }
        }

        
    }
}
